﻿/* 1. Write a program that allocates array of 20 integers 
 * and initializes each element by its index multiplied by 5. 
 * Print the obtained array on the console. */

using System;

public class ArrayOfSomeIntegers
{
    public static void Main()
    {
        int[] array = new int[20];

        Console.Write("\n{0} {1}", "{", array[0] = 5 * 0);
        for (int i = 1; i < 20; i++)
            Console.Write(", {0}", array[i] = 5 * i);

        Console.WriteLine(" {0}\n", "}");
    }
}